package com.bean;

public class Farmer {
    private int FarmerId;
    private String FarmerName;
    private String Password;
    private String Gender;
    private String Address;
    private String PhoneNumber;


    public int getFarmerId() {
        return FarmerId;
    }

    public void setFarmerId(int farmerId) {
        FarmerId = farmerId;
    }

    public String getFarmerName() {
        return FarmerName;
    }

    public void setFarmerName(String farmerName) {
        FarmerName = farmerName;
    }

    public String getPassword() {
        return Password;
    }

    public void setPassword(String password) {
        Password = password;
    }

    public String getGender() {
        return Gender;
    }

    public void setGender(String gender) {
        Gender = gender;
    }

    public String getAddress() {
        return Address;
    }

    public void setAddress(String address) {
        Address = address;
    }

    public String getPhoneNumber() {
        return PhoneNumber;
    }

    public void setPhoneNumber(String phoneNumber) {
        PhoneNumber = phoneNumber;
    }

    public Farmer() {
    }

    public Farmer(int farmerId, String farmerName, String password, String gender, String address, String phoneNumber) {
        FarmerId = farmerId;
        FarmerName = farmerName;
        Password = password;
        Gender = gender;
        Address = address;
        PhoneNumber = phoneNumber;
    }

    @Override
    public String toString() {
        return "Farmer{" +
                "FarmerId=" + FarmerId +
                ", FarmerName='" + FarmerName + '\'' +
                ", Password='" + Password + '\'' +
                ", Gender='" + Gender + '\'' +
                ", Address='" + Address + '\'' +
                ", PhoneNumber='" + PhoneNumber + '\'' +
                '}';
    }
}
